﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="ContinuumSL.MainPage">

	<Grid x:Name="LayoutRoot" Background="White" Margin="0">
		<Grid Margin="0,2,0,0" Height="85" Background="#FF6C79EE" VerticalAlignment="Top">
			<Button x:Name="btnFullscreen" Content="Fullscreen" HorizontalAlignment="Left" Margin="536,9,0,0" Width="85" Click="btnFullscreen_Click" Height="26" VerticalAlignment="Top"/>
            <Button x:Name="btnZoomLeft" Content="Zoom Left" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="448,9,0,0" Width="85" Height="26" Click="btnZoomLeft_Click" />
            <sdk:DatePicker x:Name="dtpStartDate" HorizontalAlignment="Left" Height="25" Margin="75,7,0,0" VerticalAlignment="Top" Width="141" SelectedDateChanged="dtpStartDate_SelectedDateChanged" />
			<sdk:DatePicker x:Name="dtpEndDate" Height="25" Margin="293,7,0,0" VerticalAlignment="Top" Width="125" HorizontalAlignment="Left" SelectedDateChanged="dtpEndDate_SelectedDateChanged" />
			<TextBlock HorizontalAlignment="Left" Height="18" Margin="18,9,0,0" TextWrapping="Wrap" Text="Start :" VerticalAlignment="Top" Width="58" FontSize="14" Foreground="#FFFAFDFA"/>
			<TextBlock HorizontalAlignment="Left" Height="18" Margin="240,9,0,0" TextWrapping="Wrap" Text="End :" VerticalAlignment="Top" Width="47" Foreground="#FFFAFDFA" FontSize="14"/>
			<TextBlock HorizontalAlignment="Right" Height="24" Margin="0,10,317,0" TextWrapping="Wrap" Text="Projected Value :" VerticalAlignment="Top" Width="133" FontSize="14" Foreground="#FFFAFDFA"/>
			<TextBlock HorizontalAlignment="Right" Height="24" Margin="0,10,164,0" TextWrapping="Wrap" Text="Projected Debt :" VerticalAlignment="Top" Width="128" FontSize="14" Foreground="#FFFAFDFA"/>
			<TextBlock HorizontalAlignment="Right" Height="24" Margin="0,10,12,0" TextWrapping="Wrap" Text="Projected Index :" VerticalAlignment="Top" Width="134" FontSize="14" Foreground="#FFFAFDFA"/>
            <TextBlock FontSize="14" HorizontalAlignment="Right" Margin="0,36,338,23" Text="0.00" Width="107" Height="26" Foreground="#FFFAFDFA" FontWeight="Bold" TextAlignment="Center" Name="lblProjectedValue" />
            <TextBlock FontSize="14" HorizontalAlignment="Right" Margin="0,36,177,23" FontWeight="Bold" Foreground="#FFFAFDFA" Height="26" Text="0.00" Width="107" TextAlignment="Center" Name="lblProjectedDebt" />
            <TextBlock FontSize="16" FontWeight="Bold" Foreground="#FF5DD35D" Height="26" HorizontalAlignment="Right" Margin="0,34,34,25" Text="1.00" Width="85" TextAlignment="Center" Name="lblProjectedIndex" />
            <Button Content="Y-" Height="23" HorizontalAlignment="Left" Margin="69,43,0,0" Name="btnStartYDec" VerticalAlignment="Top" Width="32" Click="btnStartYDec_Click" />
            <Button Content="M-" Height="23" HorizontalAlignment="Left" Margin="107,43,0,0" Name="btnStartMDec" VerticalAlignment="Top" Width="32" Click="btnStartMDec_Click" />
            <Button Content="M+" Height="23" HorizontalAlignment="Left" Margin="145,43,0,0" Name="btnStartMInc" VerticalAlignment="Top" Width="32" Click="btnStartMInc_Click" />
            <Button Content="Y+" Height="23" HorizontalAlignment="Left" Margin="184,43,0,0" Name="btnStartYInc" VerticalAlignment="Top" Width="32" Click="btnStartYInc_Click" />
            <Button Content="Y-" Height="23" HorizontalAlignment="Left" Margin="283,42,0,0" Name="btnEndYDec" VerticalAlignment="Top" Width="32" Click="btnEndYDec_Click" />
            <Button Content="M-" Height="23" HorizontalAlignment="Left" Margin="319,42,0,0" Name="btnEndMDec" VerticalAlignment="Top" Width="32" Click="btnEndMDec_Click" />
            <Button Content="M+" Height="23" HorizontalAlignment="Left" Margin="355,42,0,0" Name="btnEndMInc" VerticalAlignment="Top" Width="32" Click="btnEndMInc_Click" />
            <Button Content="Y+" Height="23" HorizontalAlignment="Left" Margin="391,42,0,0" Name="btnEndYInc" VerticalAlignment="Top" Width="32" Click="btnEndYInc_Click" />
            <Button Content="Save" Height="26" HorizontalAlignment="Left" Margin="498,44,0,0" Name="btnSaveRibbon" VerticalAlignment="Top" Width="79" Click="btnSaveRibbon_Click" />
        </Grid>
		<Grid Margin="0,117,8,8" Background="#FFEFF496"/>
		<toolkit:DockPanel Margin="0,86,8,8" Name="dockMain">
			<sdk:TabControl toolkit:DockPanel.Dock="Right" Width="560" FontSize="13.333" Name="tabRight">
				<sdk:TabItem Header="Stats">
					<Grid Background="#FFE5E5E5">
						<TextBlock HorizontalAlignment="Left" Height="26" Margin="26,31,0,0" TextWrapping="Wrap" Text="Total Savings :" VerticalAlignment="Top" Width="120"/>
						<TextBlock Height="26" Margin="192,31,0,0" TextWrapping="Wrap" Text="0.00" VerticalAlignment="Top" Name="lblNetSavings" HorizontalAlignment="Left" Width="92" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="26,61,0,0" Name="textBlock2" Text="Total Equity :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="26,89,0,0" Name="textBlock13" Text="Total Debt :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="307,31,0,0" Name="textBlock15" Text="Savings Change :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="307,61,0,0" Name="textBlock16" Text="Equity Change :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="307,90,0,0" Name="textBlock17" Text="Debt Change :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="192,62,0,0" Name="lblNetEquity" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="192,89,0,0" Name="lblNetDebt2" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="441,32,0,0" Name="lblSavingsChange" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="441,62,0,0" Name="lblEquityChange" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="441,93,0,0" Name="lblDebtChange" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="26,143,0,0" Name="textBlock23" Text="Net Value Change :" VerticalAlignment="Top" FontSize="16" />
                        <TextBlock Foreground="Green"  HorizontalAlignment="Left" Margin="192,144,0,0" Name="lblNetValueChange" Text="0.00" FontSize="16" Height="24" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="307,143,0,0" Name="textBlock25" Text="per day :" VerticalAlignment="Top" FontSize="16" />
                        <TextBlock Height="23" Foreground="Green" HorizontalAlignment="Left" Margin="441,148,0,0" Name="lblNetValDay" Text="0.00" VerticalAlignment="Top" FontSize="16" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="26,169,0,0" Name="textBlock27" Text="Net Waste :" VerticalAlignment="Top" />
                        <TextBlock Height="23" Foreground="Red" HorizontalAlignment="Left" Margin="192,169,0,0" Name="lblNetWaste" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="307,171,0,0" Name="textBlock29" Text="per day :" VerticalAlignment="Top" />
                        <TextBlock Height="23" Foreground="Red" HorizontalAlignment="Left" Margin="441,172,0,0" Name="lblNetWasteDay" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="26,194,0,0" Name="textBlock31" Text="Interest on Loans :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="192,194,0,0" Name="lblNetInterest" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock HorizontalAlignment="Left" Margin="307,196,0,0" Name="textBlock33" Text="per day :" Height="23" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="441,195,0,0" Name="lblNetInterestDay" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="307,222,0,0" Name="textBlock35" Text="per day :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="441,218,0,0" Name="lblTotalVolumeDay" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="31,262,0,0" Name="textBlock37" Text="Estimated Monthly Volume :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="31,286,0,0" Name="textBlock38" Text="Estimated Yearly Volume :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="248,262,0,0" Name="lblTotalVolumeMonth" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="249,286,0,0" Name="lblTotalVolumeYear" Text="0.00" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="34,364,0,0" Name="textBlock20" Text="Funds :" VerticalAlignment="Bottom" FontSize="14" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="96,364,0,0" Name="lblStatFundCount" Text="0" VerticalAlignment="Bottom" FontSize="14" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="199,0,0,0" Name="textBlock22" Text="Actors :" VerticalAlignment="Bottom" FontSize="14" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="266,364,0,0" Name="lblStatActorCount" Text="0" VerticalAlignment="Bottom" FontSize="14" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="361,364,0,0" Name="textBlock26" Text="Activities :" VerticalAlignment="Bottom" FontSize="14" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="444,0,0,0" Name="lblStatActivityCount" Text="0" VerticalAlignment="Bottom" FontSize="14" />
                    </Grid>
				</sdk:TabItem>
				<sdk:TabItem Header="Transactions">
                    <Grid Background="#FFE5E5E5">
                        <ComboBox Name="ddlTransactionFunds" DataContext="{Binding}" DisplayMemberPath="Name" SelectedValuePath="Name" Height="30" VerticalAlignment="Top" HorizontalAlignment="Stretch" SelectionChanged="ddlTransactionFunds_SelectionChanged" />
                        <sdk:DataGrid Name="dgTransactions" DataContext="{Binding}" VerticalAlignment="Stretch" Margin="0,31,0,0"  />
                    </Grid>
                </sdk:TabItem>
                <sdk:TabItem Header="Balances">
                    <Grid Background="#FFE5E5E5">
                        <ComboBox Name="ddlBalanceFunds" DataContext="{Binding}" DisplayMemberPath="Name" SelectedValuePath="Name" Height="30" VerticalAlignment="Top" HorizontalAlignment="Stretch" SelectionChanged="ddlBalanceFunds_SelectionChanged" />
                        <sdk:DataGrid Name="dgBalances" DataContext="{Binding}" VerticalAlignment="Stretch" Margin="0,31,0,0"  />
                    </Grid>
                </sdk:TabItem>
                <sdk:TabItem Header="Activities">
                    <Grid Background="#FFE5E5E5">
                        <ComboBox Name="ddlActivityFunds" DataContext="{Binding}" DisplayMemberPath="Name" SelectedValuePath="Name" Height="30" VerticalAlignment="Top" HorizontalAlignment="Stretch" SelectionChanged="ddlActivityFunds_SelectionChanged" />
                        <sdk:DataGrid Name="dgActivities" DataContext="{Binding}" VerticalAlignment="Stretch" Margin="0,31,0,0"  />
                    </Grid>
                </sdk:TabItem>
                <sdk:TabItem Header="Funds">
                    <Grid Background="#FFE5E5E5">
                        <ListBox HorizontalAlignment="Left" Margin="5,5,0,40" Name="lstFunds" Width="215" SelectionChanged="lstFunds_SelectionChanged" />
                        <Button Content="Delete" Height="29" HorizontalAlignment="Left" Margin="12,0,0,5" Name="btnFundDelete" VerticalAlignment="Bottom" Width="96" Click="btnFundDelete_Click" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="236,14,0,0" Name="textBlock9" Text="Fund Name :" VerticalAlignment="Top" FontWeight="Bold" FontSize="14" />
                        <TextBox Height="26" HorizontalAlignment="Left" Margin="348,12,0,0" Name="txtFundName" VerticalAlignment="Top" Width="180" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="241,154,0,0" Name="textBlock10" Text="Inception Date :" VerticalAlignment="Top" />
                        <sdk:DatePicker Height="26" HorizontalAlignment="Left" Margin="384,152,0,0" Name="dtpFundInception" VerticalAlignment="Top" Width="150" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="241,186,0,0" Name="textBlock11" Text="Inception Amount :" VerticalAlignment="Top" />
                        <TextBox HorizontalAlignment="Left" Margin="384,185,0,0" Name="txtFundInceptionAmount" Width="120" Height="28" VerticalAlignment="Top" />
                        <TextBlock HorizontalAlignment="Left" Margin="241,221,0,0" Name="textBlock12" Text="Equity Offset :" Height="23" VerticalAlignment="Top" />
                        <TextBox Height="26" HorizontalAlignment="Left" Margin="384,221,0,0" Name="txtFundEquityOffset" VerticalAlignment="Top" Width="120" />
                        <ComboBox Height="26" HorizontalAlignment="Left" Margin="382,118,0,0" Name="ddlFundType" VerticalAlignment="Top" Width="150" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="241,119,0,0" Name="textBlock14" Text="Fund Type :" VerticalAlignment="Top" Width="97" />
                        <CheckBox Content="Fund is a benchmark fund" Height="22" HorizontalAlignment="Left" Margin="242,79,0,0" Name="chkFundBenchmark" VerticalAlignment="Top" Width="218" />
                        <CheckBox Content="Hide fund from graphs" Height="23" HorizontalAlignment="Left" Margin="242,53,0,0" Name="chkFundHide" VerticalAlignment="Top" Width="185" />
                        <Button Content="Save" Height="29" HorizontalAlignment="Left" Margin="424,0,0,5" Name="btnFundSave" VerticalAlignment="Bottom" Width="75" Click="btnFundSave_Click" />
                        <Button Content="Edit" Height="29" HorizontalAlignment="Left" Margin="342,0,0,5" Name="btnFundEdit" VerticalAlignment="Bottom" Width="75" Click="btnFundEdit_Click" />
                        <Button Content="New" Height="27" HorizontalAlignment="Left" Margin="261,272,0,5" Name="btnFundNew" VerticalAlignment="Bottom" Width="75" Click="btnFundNew_Click" />
                    </Grid>
                </sdk:TabItem>
                <sdk:TabItem Header="Actors">
                    <Grid Background="#FFE5E5E5">
                        <TextBox Height="26" HorizontalAlignment="Left" Margin="232,28,0,0" Name="txtActorName" VerticalAlignment="Top" Width="220" />
                        <CheckBox Content="Disable" Height="25" HorizontalAlignment="Left" Margin="466,28,0,0" Name="chkActorDisabled" VerticalAlignment="Top" />
                        <ListBox HorizontalAlignment="Left" Margin="0,0,0,40" Name="lstActors" Width="220" DataContext="{Binding}" DisplayMemberPath="ActorName" SelectedValuePath="ActorName" SelectionChanged="lstActors_SelectionChanged" />
                        <Button Content="Delete" Height="31" HorizontalAlignment="Left" Margin="10,0,0,5" Name="btnDeleteActor" VerticalAlignment="Bottom"  Width="88" Click="btnDeleteActor_Click" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="232,69,0,0" Name="textBlock1" Text="Destination Fund :" VerticalAlignment="Top" />
                        <ComboBox Height="26" HorizontalAlignment="Left" Margin="389,70,0,0" Name="ddlActorFundDest" VerticalAlignment="Top" Width="148" />
                        <ComboBox HorizontalAlignment="Left" Margin="389,101,0,0" Name="ddlActorFundFeeder" Width="148" Height="26" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="232,129,0,0" Name="textBlock3" Text="Periodicity" VerticalAlignment="Top" />
                        <ComboBox Height="26" HorizontalAlignment="Left" Margin="389,132,0,0" Name="ddlActorPeriodicity" VerticalAlignment="Top" Width="148" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="232,166,0,0" Name="textBlock4" Text="Periodicity Units :" VerticalAlignment="Top" />
                        <TextBox Height="26" HorizontalAlignment="Left" Margin="389,165,0,0" Name="txtActorPeriodicityUnits" VerticalAlignment="Top" Width="104" />
                        <sdk:DatePicker Height="26" HorizontalAlignment="Left" Margin="389,199,0,0" Name="dtpActorTriggerStart" VerticalAlignment="Top" Width="140" SelectedDateChanged="dtpActorTriggerStart_SelectedDateChanged" />
                        <sdk:DatePicker Height="26" HorizontalAlignment="Left" Margin="389,233,0,0" Name="dtpActorTriggerStop" VerticalAlignment="Top" Width="140" />
                        <CheckBox Content="Stop trigger on :" Height="22" Margin="232,234,0,0" Name="chkActorStopTrigger" VerticalAlignment="Top" HorizontalAlignment="Left" Width="133" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="232,200,0,0" Name="textBlock5" Text="Initial Trigger Date :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="232,268,0,0" Name="textBlock6" Text="Trigger Amount :" VerticalAlignment="Top" />
                        <TextBox Height="26" HorizontalAlignment="Left" Margin="389,267,0,0" Name="txtActorTriggerAmount" VerticalAlignment="Top" Width="100" />
                        <CheckBox Content="Actor is an interest loaded loan payment" Height="26" HorizontalAlignment="Left" Margin="232,307,0,0" Name="chkActorIsLoanPayment" VerticalAlignment="Top" Width="300">
                        </CheckBox>
                        <CheckBox Height="40" HorizontalAlignment="Left" Margin="232,339,0,0" Name="chkActorIsInterestAccrual" VerticalAlignment="Top">
                            <TextBlock Name="txtIsInterestAccrual">
                                <Run Text="Actor is an interest accrual" /><LineBreak /><Run Text="(Compounded at periodicity set above)" />
                            </TextBlock>
                        </CheckBox>
                        <TextBox Height="26" HorizontalAlignment="Left" Margin="408,387,0,0" Name="txtActorAccrualRate" VerticalAlignment="Top" Width="98" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="257,389,0,0" Name="textBlock7" Text="APR (Interest Rate) :" VerticalAlignment="Top" />
                        <Button Content="New" Height="29" HorizontalAlignment="Left" Margin="231,0,0,10" Name="btnNewActor" VerticalAlignment="Bottom" Width="75" Click="btnNewActor_Click" />
                        <Button Content="Edit" Height="29" HorizontalAlignment="Left" Margin="326,0,0,10" Name="btnEditActor" VerticalAlignment="Bottom" Width="75" Click="btnEditActor_Click" />
                        <Button Content="Save" Height="29" HorizontalAlignment="Left" Margin="419,0,0,10" Name="btnSaveActor" VerticalAlignment="Bottom" Width="75" Click="btnSaveActor_Click" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="232,7,0,0" Name="textBlock8" Text="Actor Name :" VerticalAlignment="Top" FontWeight="Bold" FontSize="14" />
                        <CheckBox Content="Use Feeder Fund :" Height="28" HorizontalAlignment="Left" Margin="233,99,0,0" Name="chkActorHasFeeder" VerticalAlignment="Top" Width="147" />
                    </Grid>
                </sdk:TabItem>
                <sdk:TabItem Header="HB">
                    <Grid Margin="0">
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,39,0,0" Name="textBlock28" Text="Historical Balances" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="240,39,0,0" Name="textBlock30" Text="(Use this to reconcile funds' balances)" VerticalAlignment="Top" />
                        <ListBox HorizontalAlignment="Left" Margin="11,70,0,44" Name="lstHistoricalBalances" Width="199" SelectionChanged="lstHistoricalBalances_SelectionChanged" />
                        <ComboBox Name="ddlHistoricalBalsFunds" DataContext="{Binding}" DisplayMemberPath="Name" SelectedValuePath="Name" Height="30" VerticalAlignment="Top" HorizontalAlignment="Stretch" SelectionChanged="ddlFundsHistBals_SelectionChanged" />
                        <sdk:DatePicker Height="23" HorizontalAlignment="Left" Margin="368,82,0,0" Name="dtpHistBalDate" VerticalAlignment="Top" Width="154" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="368,116,0,0" Name="txtHistBalAmount" VerticalAlignment="Top" Width="154" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="368,149,0,0" Name="txtHistBalDesc" VerticalAlignment="Top" Width="154" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="240,81,0,0" Name="textBlock32" Text="Balance Date :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="240,115,0,0" Name="textBlock34" Text="Amount :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="240,149,0,0" Name="textBlock36" Text="Description :" VerticalAlignment="Top" />
                        <Button Content="Save" Height="26" HorizontalAlignment="Left" Margin="448,213,0,0" Name="btnHistBalSave" VerticalAlignment="Top" Width="75" Click="btnHistBalSave_Click" />
                        <Button Content="Edit" Height="26" HorizontalAlignment="Left" Margin="353,213,0,0" Name="btnHistBalEdit" VerticalAlignment="Top" Width="75" Click="btnHistBalEdit_Click" />
                        <Button Content="New" Height="26" HorizontalAlignment="Left" Margin="256,213,0,0" Name="btnHistBalNew" VerticalAlignment="Top" Width="75" Click="btnHistBalNew_Click" />
                        <Button Content="Delete" Height="26" HorizontalAlignment="Left" Margin="135,0,0,10" Name="btnHistBalDelete" VerticalAlignment="Bottom" Width="75" Click="btnHistBalDelete_Click" />
                    </Grid>
                </sdk:TabItem>
				<sdk:TabItem Header="File I/O">
					<Grid Margin="0">
						<Button x:Name="btnLoad" Content="Reload from Saved" Height="37" Margin="318,20,0,0" VerticalAlignment="Top" Click="btnLoad_Click" HorizontalAlignment="Left" Width="199" FontSize="16" />
						<Button x:Name="btnSave" Content="Save" Margin="28,20,0,0" VerticalAlignment="Top" Height="48" Click="btnSave_Click" HorizontalAlignment="Left" Width="217" FontSize="16" />
                        <Button x:Name="btnClearData" Content="Clear Data" Margin="318,65,31,0" VerticalAlignment="Top" Height="33" Click="btnClearData_Click" FontSize="16" />
						<Button x:Name="btnAddSampleData" Content="Add Sample Data" Height="46" Margin="28,78,303,0" VerticalAlignment="Top" Click="btnAddSampleData_Click" FontSize="16" />
                        <TextBlock Height="179" HorizontalAlignment="Left" Margin="29,282,0,0" Name="textBlock19" VerticalAlignment="Top" Width="488">
                                <Run Text="For project information visit the Continuum site on Codeplex at :" /><LineBreak />
                                <Run Text="http://continuum.codeplex.com" /><LineBreak /><LineBreak/>
                                <Run Text="Continuum is an open source financial modeling application designed"/><LineBreak/>
                                <Run Text="to let you model, project, and analyze your financial instruments"/><LineBreak/>
                                <Run Text="and activities over time. The goal of such simulation would be to"/><LineBreak/>
                                <Run Text="allow you to reduce debts or better manage your financial goals."/>
                        </TextBlock>
                        <TextBlock Height="26" HorizontalAlignment="Left" Margin="29,206,0,0" Name="textBlock21" Text="Continuum for Silverlight" VerticalAlignment="Top" Width="246" FontSize="16" />
                        <TextBlock Height="26" HorizontalAlignment="Left" Margin="357,196,0,0" Name="textBlock24" Text="Continuum Version :" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="396,218,0,0" Name="lblVersion" Text="TextBlock" VerticalAlignment="Top" />
                        <Button Content="Encrypt/Decrypt" Height="36" HorizontalAlignment="Left" Margin="318,106,0,0" Name="btnEncrypt" VerticalAlignment="Top" Width="199" FontSize="16" Click="btnEncrypt_Click" />
                        <Button Content="Import" Height="31" HorizontalAlignment="Left" Margin="318,150,0,0" Name="btnImport" VerticalAlignment="Top" Width="95" Click="btnImport_Click" />
                        <Button Content="Export" Height="32" HorizontalAlignment="Left" Margin="420,149,0,0" Name="btnExport" VerticalAlignment="Top" Width="97" Click="btnExport_Click" />
                    </Grid>
				</sdk:TabItem>
			</sdk:TabControl>
			<sdk:TabControl Margin="0,0,0,8" BorderThickness="0,1,0,0" toolkit:DockPanel.Dock="Top" FontSize="13.333" Name="tabLeft">
				<sdk:TabItem Header="Fund Activity">
					<Grid Background="#FFE5E5E5">
						<toolkit:Chart x:Name="chartFundActivity" Margin="0" Title="Chart Title">
                            <toolkit:LineSeries ItemsSource="{Binding}" DependentValuePath="Amount" IndependentValuePath="BalanceDate">
                            </toolkit:LineSeries>
                        </toolkit:Chart>
					</Grid>
				</sdk:TabItem>
				<sdk:TabItem Header="Fund Dispersal">
					<Grid Background="#FFE5E5E5">
						<toolkit:Chart Margin="0,50,0,0" x:Name="chartFundDisbursal" Title="Chart Title" d:LayoutOverrides="Height">
                            <toolkit:PieSeries ItemsSource="{Binding}" DependentValuePath="Amount" IndependentValuePath="Description">
                            </toolkit:PieSeries>
                        </toolkit:Chart>
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="16,13,0,0" Name="textBlock18" Text="Fund :" VerticalAlignment="Top" />
                        <ComboBox Height="26" HorizontalAlignment="Left" Margin="84,13,0,0" Name="ddlFundDisbursal" VerticalAlignment="Top" Width="175" SelectionChanged="ddlFundDisbursal_SelectionChanged" />
                        <CheckBox Content="Show Reverse Flow" Height="26" HorizontalAlignment="Left" Margin="284,14,0,0" Name="chkFundDisburseReversed" VerticalAlignment="Top" Click="chkFundDisburseReversed_Click" />
                    </Grid>
				</sdk:TabItem>
				<sdk:TabItem Header="Stacked Value">
					<Grid Margin="0">
						<toolkit:Chart x:Name="chartStackedValue" Margin="0" Title="Chart Title" d:LayoutOverrides="Width, Height">
                            <toolkit:AreaSeries ItemsSource="{Binding}" />
                        </toolkit:Chart>
					</Grid>
				</sdk:TabItem>
				<sdk:TabItem Header="Stacked Debt">
					<Grid Margin="0">
                        <toolkit:Chart Margin="0,30,0,0" x:Name="chartStackedDebt" Title="Chart Title" d:LayoutOverrides="Width, Height">
                            <toolkit:AreaSeries ItemsSource="{Binding}" />
                        </toolkit:Chart>
                        <CheckBox Content="Use relative vertical scale" Height="26" HorizontalAlignment="Left" Margin="5,5,0,0" Name="chkStackedDebtRelative" VerticalAlignment="Top" Click="chkStackedDebtRelative_Click" />
                    </Grid>
				</sdk:TabItem>
				<sdk:TabItem x:Name="tabDistribution" Header="Distribution">
					<Grid Margin="0">
						<toolkit:Chart Margin="0" Title="Chart Title" Name="chartDistribution">
                            <toolkit:PieSeries ItemsSource="{Binding}" DependentValuePath="Amount" IndependentValuePath="Description">
                            </toolkit:PieSeries>
						</toolkit:Chart>
					</Grid>
				</sdk:TabItem>
			</sdk:TabControl>
		</toolkit:DockPanel>
	</Grid>
</UserControl>